#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface CameraPreviewView : UIView
@property (nonatomic, strong, readonly) AVCaptureVideoPreviewLayer *previewLayer;
- (void)setupSession:(AVCaptureSession *)session;

- (void)setZoom:(CGFloat)zoom;
- (void)setMirrored:(BOOL)mirrored;
- (void)showCountdown:(NSInteger)seconds;
- (void)hideCountdown;
- (void)showResult:(BOOL)success;
- (void)playLiveFlashEffect;
@end 